Skip to main content

Events List

Subscribe to events

BluedotPointSdk.on("event_name", (event) => console.log("Event callback", event))

Unsubscribe events

BluedotPointSdk.unsubscribe("event_name", (event) => console.log("Event callback", event))

GeoTriggering Events

NameDescriptionEvent payload
enterZoneDevice enters a ZoneObject with the following properties: fenceInfo: Fence information zoneInfo: Zone information locationInfo: Location information isExitEnabled: Wether Exit is enabled or disabled. <Bool>`` * customData`: Zone custom data
exitZoneDevice exits a ZoneObject with the following properties: fenceInfo: Fence information zoneInfo: Zone information date: Date of the exit event duration: Time between the entry and exit event.
zoneInfoUpdateThe SDK downloads the ZonesArray <Zones>. List of Zones downloaded.

Tempo Events

NameDescriptionEvent payload
tempoTrackingDidExpireTempo session has expired (Default 30 minutes).Object with the following properties: * error: Error description
tempoTrackingStoppedWithErrorTempo has stopped due to an error. The error will be passed as a parameter in the callback.Object with the following properties: * error: Error description

Helpers Events

NameDescriptionEvent payload
lowPowerModeDidChangeLow power mode status changes in the deviceObject with the following properties: * isLowPowerMode: whether low power mode is enabled or disabled. <Bool>
locationAuthorizationDidChangeLocation authorization status changesObject with the following properties: previousAuthorizationStatus newAuthorizationStatus
accuracyAuthorizationDidChangeAccuracy authorization status changes. * Only for iOSObject with the following properties: previousAuthorizationStatus newAuthorizationStatus